package com.sourny.config.client.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author sourny.yang
 * @date 2018/3/31 15:51
 */
@RestController
public class HelloController {
    @Value("${say}")
    String say;
    @RequestMapping("hello")
    public String hello(){
        return say;
    }
}
